//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.purvar.boot.comm.util;

import com.alibaba.fastjson.JSONObject;

public class JsonConvertUtil {
    public JsonConvertUtil() {
    }

    public static <T> T jsonToObject(String pojo, Class<T> clazz) {
        return JSONObject.parseObject(pojo, clazz);
    }

    public static <T> String objectToJson(T t) {
        return JSONObject.toJSONString(t);
    }
}
